iisreset /stop

cd C:\Program Files\Microsoft SDKS\Windows\v6.0A\Bin

@set prjpath="C:\prj\IKEA.FileExchange"
@set binpath="C:\prj\IKEA.FileExchange\tools\binaries"

del %binpath% 
mkdir %binpath% 

gacutil /u IKEA.FileExchange.Configuration
gacutil /u IKEA.FileExchange.Security
gacutil /u IKEA.FileExchange.Web
gacutil /u IKEA.FileExchange.Web.WebParts
gacutil /u IKEA.FileExchange.Domain

copy %prjpath%\IKEA.FileExchange.Configuration\bin\Debug\IKEA.FileExchange.Configuration.dll %binpath%
copy %prjpath%\IKEA.FileExchange.Security\bin\Debug\IKEA.FileExchange.Security.dll %binpath%
copy %prjpath%\IKEA.FileExchange.Web\bin\Debug\IKEA.FileExchange.Web.dll %binpath%
copy %prjpath%\IKEA.FileExchange.Web.WebParts\bin\Debug\IKEA.FileExchange.Web.WebParts.dll %binpath%
copy %prjpath%\IKEA.FileExchange.Domain\bin\debug\IKEA.FileExchange.Domain.dll %binpath%

gacutil /i %binpath%\IKEA.FileExchange.Configuration.dll
gacutil /i %binpath%\IKEA.FileExchange.Security.dll
gacutil /i %binpath%\IKEA.FileExchange.Web.dll
gacutil /i %binpath%\IKEA.FileExchange.Web.WebParts.dll
gacutil /i %binpath%\IKEA.FileExchange.Domain.dll

iisreset /start